// webmasterData: '站长数据',
// SEOData: 'SEO数据',
// assetRenewal: '资产更新',
// lexiconStatistics: '词库统计',
// content: '内容管理',
// assetMapping: '资产测绘',
// dataMining: '数据挖掘',
// contentMonitoring: '内容监控',
// query: '查询管理',
// webFilteringList: '网站过滤名单管理',
// system: '系统管理',
export const components = {
  "/webmasterData": () => import("@/views/webmasterData/index.vue"),
  "/SEOData": () => import("@/views/SEOData/index.vue"),
  "/assetRenewal": () => import("@/views/assetRenewal/index.vue"),
  "/lexiconStatistics": () => import("@/views/lexiconStatistics/index.vue"),
  "/thesaurus": () => import("@/views/content/thesaurus/index.vue"),
  "/picture": () => import("@/views/content/picture/index.vue"),
  "/urlLibrary": () => import("@/views/content/urlLibrary/index.vue"),
  "/landingPage": () => import("@/views/content/landingPage/index.vue"),
  "/assetMapping": () => import("@/views/assetMapping/index.vue"),
  "/dataMining": () => import("@/views/dataMining/index.vue"),
  "/contentMonitoring": () => import("@/views/contentMonitoring/index.vue"),
  "/query": () => import("@/views/query/index.vue"),
  "/webFilteringList": () => import("@/views/webFilteringList/index.vue"),
  "/warningManageList": () => import("@/views/warningManageList/index.vue"),
  "/dict": () => import("@/views/system/dict/index.vue"),
  "/role": () => import("@/views/system/role/index.vue"),
  "/user": () => import("@/views/system/user/index.vue"),
  "/node": () => import("@/views/system/node/index.vue"),
};

interface routes {
  path: string;
  name: string;
  component?: any;
  redirect?: string;
  meta: {
    title: string;
    icon?: string;
    theme?: string;
  };
  children?: object;
}

export const meums: Array<routes> = [
  {
    path: "/webmasterData",
    name: "webmasterData",
    component: () => import("@/views/webmasterData/index.vue"),
    meta: {
      title: "站长数据",
      icon: require("@/assets/home/icon18@2x.png"),
      theme: "dark",
    },
  },
  {
    path: "/SEOData",
    name: "SEOData",
    component: () => import("@/views/SEOData/index.vue"),
    meta: {
      title: "SEO数据",
      icon: require("@/assets/home/icon25@2x.png"),
      theme: "dark",
    },
  },
  {
    path: "/assetRenewal",
    name: "assetRenewal",
    component: () => import("@/views/assetRenewal/index.vue"),
    meta: {
      title: "资产更新",
      icon: require("@/assets/home/icon20@2x.png"),
      theme: "dark",
    },
  },
  {
    path: "/lexiconStatistics",
    name: "lexiconStatistics",
    component: () => import("@/views/lexiconStatistics/index.vue"),
    meta: {
      title: "词库统计",
      icon: require("@/assets/home/icon24@2x.png"),
      theme: "dark",
    },
  },
  {
    path: "/content",
    name: "content",
    meta: { title: "内容管理", icon: require("@/assets/home/icon28@2x.png") },
    children: [
      {
        path: "thesaurus",
        name: "thesaurus",
        component: () => import("@/views/content/thesaurus/index.vue"),
        meta: {
          title: "词库管理",
          icon: require("@/assets/home/icon28@2x.png"),
        },
      },
      {
        path: "picture",
        name: "picture",
        component: () => import("@/views/content/picture/index.vue"),
        meta: {
          title: "图片管理",
          icon: require("@/assets/home/icon28@2x.png"),
        },
      },
      {
        path: "urlLibrary",
        name: "urlLibrary",
        component: () => import("@/views/content/urlLibrary/index.vue"),
        meta: {
          title: "网址库管理",
          icon: require("@/assets/home/icon28@2x.png"),
        },
      },
      {
        path: "landingPage",
        name: "landingPage",
        component: () => import("@/views/content/landingPage/index.vue"),
        meta: {
          title: "落地页管理",
          icon: require("@/assets/home/icon28@2x.png"),
        },
      },
    ],
  },
  {
    path: "/assetMapping",
    name: "assetMapping",
    component: () => import("@/views/assetMapping/index.vue"),
    meta: { title: "资产测绘", icon: require("@/assets/home/icon19@2x.png") },
  },
  {
    path: "/dataMining",
    name: "dataMining",
    component: () => import("@/views/dataMining/index.vue"),
    meta: { title: "数据挖掘", icon: require("@/assets/home/icon23@2x.png") },
  },
  {
    path: "/contentMonitoring",
    name: "contentMonitoring",
    component: () => import("@/views/contentMonitoring/index.vue"),
    meta: { title: "内容监控", icon: require("@/assets/home/icon26@2x.png") },
  },
  {
    path: "/query",
    name: "query",
    component: () => import("@/views/query/index.vue"),
    meta: { title: "查询管理", icon: require("@/assets/home/icon27@2x.png") },
  },
  {
    path: "/webFilteringList",
    name: "webFilteringList",
    component: () => import("@/views/webFilteringList/index.vue"),
    meta: {
      title: "网站过滤名单管理",
      icon: require("@/assets/home/icon22@2x.png"),
    },
  },
  {
    path: "/warningManageList",
    name: "warningManageList",
    component: () => import("@/views/warningManageList/index.vue"),
    meta: {
      title: "告警管理",
      icon: require("@/assets/home/icon22@2x.png"),
    },
  },
  {
    path: "/system",
    name: "system",
    meta: { title: "系统管理", icon: require("@/assets/home/icon21@2x.png") },
    children: [
      {
        path: "dict",
        name: "dict",
        component: () => import("@/views/system/dict/index.vue"),
        meta: {
          title: "字典管理",
          icon: require("@/assets/home/icon28@2x.png"),
        },
      },
      {
        path: "role",
        name: "role",
        component: () => import("@/views/system/role/index.vue"),
        meta: {
          title: "角色管理",
          icon: require("@/assets/home/icon28@2x.png"),
        },
      },
      {
        path: "user",
        name: "user",
        component: () => import("@/views/system/user/index.vue"),
        meta: {
          title: "用户管理",
          icon: require("@/assets/home/icon28@2x.png"),
        },
      },
      {
        path: "node",
        name: "node",
        component: () => import("@/views/system/node/index.vue"),
        meta: {
          title: "节点管理",
          icon: require("@/assets/home/icon28@2x.png"),
        },
      },
    ],
  },
];
